import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/third_party_user_train_record_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/third_party_user_train_record_entity.g.dart';

/// 第三方培训记录
@JsonSerializable()
class ThirdPartyUserTrainRecordEntity {

	ThirdPartyUserTrainRecordEntity();

	factory ThirdPartyUserTrainRecordEntity.fromJson(Map<String, dynamic> json) => $ThirdPartyUserTrainRecordEntityFromJson(json);
	String? companyCode = '';
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
	String? deleted = '';
	String? id = '';
	int? qualified = 0;
	int? trainAchievement = 0;
	String? trainBeginDate = '';
	String? trainImageUrl = '';
	String? trainInfo = '';
	String? trainName = '';
	String? trainType = '';
	String? trainTypeLabel = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';
	String? userId = '';

	Map<String, dynamic> toJson() => $ThirdPartyUserTrainRecordEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
